package com.smartcommunity.entity.tag.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * Copyright: Copyright (c) 2019
 * Company:
 *
 * @author WangShang
 * @version V1.0
 * @date @date  2019-07-02
 */
@Data
@ApiModel
public class QueryTagDto {

    @ApiModelProperty(value="组ID ",name="groupId",example = "1")
    private String groupId;

    @ApiModelProperty(value="目标类型",name="targetType")
    private String targetType;

    @ApiModelProperty(value="标签名称，支持模糊搜索",name="labelName")
    private String labelName;

    @NotBlank(message = "当前页数不能为空")
    @ApiModelProperty(value="当前页数 ",name="pageNumber",example = "1")
    private String pageNumber;

    @NotBlank(message = "每页显示条数不能为空")
    @ApiModelProperty(value="每页显示条数 ",name="pageSize",example = "10")
    private String pageSize;

}
